<?php
namespace app\agent\controller;

use app\agent\model\Menu;

class Index extends Base {
    public function index()
    {
        $list = Menu::where(array('type' => 1))->select();
        $this->assign('list', $list);

        $this->assign('agentName', session('agentName'));
        return view();
    }
}
